#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;

int a[105];
int n;
int main()
{
    cin >> n;
    for (int i = 1; i <= n; i++)
    {
        cin >> a[i];
    }
    
}